import request from '@/utils/request'

// 仪表板（要货方） API
export function getReceiverSummary(params) {
  return request({ url: '/kanban/dashboard/receiver/summary', method: 'get', params })
}

export function getReceiverTrend(params) {
  return request({ url: '/kanban/dashboard/receiver/trend', method: 'get', params })
}

export function getReceiverDistribution(params) {
  return request({ url: '/kanban/dashboard/receiver/distribution', method: 'get', params })
}

export function getReceiverRealtime(params) {
  return request({ url: '/kanban/dashboard/receiver/realtime', method: 'get', params })
}

export function getReceiverExceptions(params) {
  return request({ url: '/kanban/dashboard/receiver/exceptions', method: 'get', params })
}